package com.ssy.lingxi.report.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 会员手机端常用应用更新VO
 * @author 伍将
 * @date 2021/3/2
 * @version 2.0.0
 */
public class UpdateMemberMobileCommonlyUsedAppVO implements Serializable {
    private static final long serialVersionUID = -1124060017705338995L;

    /**
     * 应用code
     */
    @NotNull(message = "应用code需大于0")
    @Positive(message = "应用code需大于0")
    private Integer code;

    /**
     * 排序（越小越靠前）
     */
    @NotNull(message = "排序需大于0")
    @Positive(message = "排序需大于0")
    private Integer sort;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
